import React, {Component} from 'react';
import {Table} from 'antd';

class GameInfoTable extends Component {

    constructor(props) {
        super(props);
    }

    render() {
        return (
            <Table rowKey="id" dataSource={this.props.dataSource} columns={this.props.columns}
                   style={{marginTop: '10px'}}
                   pagination={this.props.pagination} onChange={this.props.handleTableChange}
                   rowSelection={this.props.rowSelection}>

            </Table>
        );
    }
}

export default GameInfoTable;
